PreparedUseCase
A UseCase prepared by a NativeCameraOutput, but not yet attached to the Camera. After it has been bound with bindToLifecycle(...), call notifyAttached to let the output know it can use the live UseCase.
This is an extension point for plugin modules, returned by createUseCase. The output captures its own typed reference (e.g. an ImageAnalysis) in the onAttached closure, so no downcasting is ever needed.
Properties
Link copied to clipboard
The prepared CameraX UseCase, bound to the Camera by the CameraSession.
Functions
Link copied to clipboard
Notify the output that this UseCase has been attached to the Camera.